package com.travelgroup.domain.vo;

import com.travelgroup.enums.GroupStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "拼团信息VO")
public class TourGroupVO {
    @Schema(description = "拼团id")
    private Long id;

    @Schema(description = "总行程信息")
    private ItineraryVO itinerary;

    @Schema(description = "最大成员数")
    private Integer maxMembers;

    @Schema(description = "当前人数")
    private Integer currentMembers;

    @Schema(description = "当前价格")
    private Double currentPrice;

    @Schema(description = "拼团状态（0-招募中、1-已成团、2-已取消）")
    private GroupStatus status;

    @Schema(description = "截止时间")
    private LocalDateTime expireTime;
}
